#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

using namespace std;

int main(int argc, char const *argv[])
{
    // 定义一个整数向量
    std::vector<int> numbers = {80, 100, 600, 20, 30};

    sort(numbers.begin() , numbers.end() , less<int>());
    
    for (vector<int>::iterator it = numbers.begin() ; it != numbers.end() ; it++)
    {
        cout << *it << endl;
    }
    
    return 0;
}